package com.leo.customer.utils

import com.leo.customer.entity.pojo.User
import javax.servlet.http.HttpServletRequest

object Utils {
    fun getUserFromRequest(request: HttpServletRequest): User {
        return request.getAttribute("user") as User
    }
}
